/*
 * Wire
 * Copyright (C) 2018 Wire Swiss GmbH
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/.
 *
 */

.Sidebar {
  background-color: var(--sidebar-color);
  width: 78px;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 0 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.Sidebar:hover .ContextMenuTrigger {
  opacity: 1;
}

.Sidebar-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 56px;
  cursor: pointer;
}

.Sidebar-icon:focus {
  outline: 1px solid var(--account-accent-color);
  border-radius: 4px;
}

.Sidebar-icon-badge {
  position: relative;
}

.Sidebar-icon-badge:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 1.5px solid var(--sidebar-color);
  border-radius: 50%;
}

.Sidebar-icon-cursor {
  cursor: pointer;
}

.Sidebar-account-add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  fill: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
